package com.isdepci.project.carbon.service.impl;

import com.isdepci.project.carbon.domain.BHeatEmissionParameter;
import com.isdepci.project.carbon.mapper.BHeatEmissionParameterMapper;
import com.isdepci.project.carbon.service.IBHeatEmissionParameterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 热力排放参数Service业务层处理
 *
 * @author isdepci
 * @date 2025-05-19
 */
@Service
public class BHeatEmissionParameterServiceImpl implements IBHeatEmissionParameterService
{
    @Autowired
    private BHeatEmissionParameterMapper bHeatEmissionParameterMapper;

    /**
     * 查询热力排放参数
     */
    @Override
    public BHeatEmissionParameter selectBHeatEmissionParameterById(Long id)
    {
        return bHeatEmissionParameterMapper.selectBHeatEmissionParameterById(id);
    }

    /**
     * 查询热力排放参数列表
     */
    @Override
    public List<BHeatEmissionParameter> selectBHeatEmissionParameterList(BHeatEmissionParameter bHeatEmissionParameter)
    {
        return bHeatEmissionParameterMapper.selectBHeatEmissionParameterList(bHeatEmissionParameter);
    }

    /**
     * 新增热力排放参数
     */
    @Override
    public int insertBHeatEmissionParameter(BHeatEmissionParameter bHeatEmissionParameter)
    {
        return bHeatEmissionParameterMapper.insertBHeatEmissionParameter(bHeatEmissionParameter);
    }

    /**
     * 修改热力排放参数
     */
    @Override
    public int updateBHeatEmissionParameter(BHeatEmissionParameter bHeatEmissionParameter)
    {
        return bHeatEmissionParameterMapper.updateBHeatEmissionParameter(bHeatEmissionParameter);
    }

    /**
     * 批量删除热力排放参数
     */
    @Override
    public int deleteBHeatEmissionParameterByIds(Long[] ids)
    {
        return bHeatEmissionParameterMapper.deleteBHeatEmissionParameterByIds(ids);
    }

    /**
     * 删除热力排放参数信息
     */
    @Override
    public int deleteBHeatEmissionParameterById(Long id)
    {
        return bHeatEmissionParameterMapper.deleteBHeatEmissionParameterById(id);
    }
}
